package com.xiaol.business.service.student.impl;

import com.xiaol.business.mapper.StudentMapper;
import com.xiaol.business.model.Student;
import com.xiaol.business.service.student.StudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service(value = "studentService")
public class StudentServiceImpl implements StudentService {

    @Autowired
    StudentMapper studentMapper;

    @Override
    public List<Student> queryAll() {
        return studentMapper.findAll();
    }
}
